<?php

namespace App\Repositories\Transformers;

use App\Models\SystemModuleInfo;
use League\Fractal\TransformerAbstract;

class SystemModuleInfoTransformer extends TransformerAbstract
{
    public function transform(SystemModuleInfo $systemModuleInfo)
    {
        return [
            'key' => $systemModuleInfo->key,
            'value' => $systemModuleInfo->value,
        ];
    }
}
